package io.github.uicdb.liba.api.register;

import net.minecraft.core.particles.ParticleOptions;
import net.minecraft.core.particles.ParticleType;
import net.minecraftforge.registries.RegistryObject;

import java.util.function.Supplier;

public class ParticleTypeHolder<T extends ParticleType<?> &ParticleOptions> implements Supplier<ParticleType<T>> {
   public RegistryObject<T> instance;

   @Override
   public ParticleType<T> get() {
      return (ParticleType<T>) instance.get();
   }
}
